﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WordNet.Core.DataContract
{
    public interface IDataContext
    {
        IEnumerable<T> GetAll<T>(POS pos);
        T GetItem<T>(string lemma);
        T GetItem<T>(object key);
        IDataProvider<T> GetDataProvider<T>();
    }
}
